//
//  HMDocDeatilView.m
//  仿真开发
//
//  Created by jieChen on 17/3/25.
//  Copyright © 2017年 B.HOPE. All rights reserved.
//

#import "HMDocDeatilView.h"
#import "HMReputationDoctoModel.h"
#import <UIImageView+WebCache.h>


@interface HMDocDeatilView ()

@property (weak , nonatomic) IBOutlet UIImageView *docPic;

@property (weak , nonatomic) IBOutlet UILabel *docName;

@property (weak , nonatomic)IBOutlet UILabel *docType;

@property (weak , nonatomic)IBOutlet UILabel *docHospital;
@end


@implementation HMDocDeatilView



- (void)setRepModel:(HMReputationDoctoModel *)repModel {
    
    _repModel = repModel;
    
    
    _docName.text = _repModel.doctor_name;
    
    _docType.text = _repModel.doctor_title_name;
    
    _docHospital.text = _repModel.doctor_hospital_name;
    
    [_docPic sd_setImageWithURL:[NSURL URLWithString:_repModel.doctor_portrait]];
}


@end
